import request from '@/router/axios';

export const getList = (current, size, params) => {
  return request({
    url: '/api/rb-oem/oem/pledge/pledge_meal_service/pageList',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}

export const add = (row) => {
  return request({
    url: '/api/rb-oem/oem/pledge/pledge_meal_service/save',
    method: 'post',
    data: row
  })
}

export const del = (row) => {
  return request({
    url: '/api/rb-oem/oem/pledge/pledge_meal_service/del',
    method: 'post',
    params: row
  })
}
